package org.alis.rpc.test.ap.rpcexample;

import org.alis.ap.rpc.client.ApRpcClient;

/**
 * rpcexample desc:
 *
 * @author luochuan
 * @date 2020/10/21 14:47
 */
public class Client {

    public static void main(String[] args) {
        ApRpcClient client =new ApRpcClient();
        CalcService calcService = client.getProxy(CalcService.class);

        System.out.println(calcService.add(1, 2));
        System.out.println(calcService.minus(2, 1));
    }
}
